package com.tuanzi.loan.business.repository.xhh.settlementsystem;

import com.tuanzi.loan.business.entity.xhh.settlementsystem.XhhSettlementProduct;
import com.tuanzi.loan.business.repository.xhh.settlementsystem.custom.XhhSettlementProductRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

/**
 * @author caiwanlin
 * @create 2018-08-16 15:34
 */
public interface XhhSettlementProductRepository extends XhhSettlementProductRepositoryCustom, JPAAuditRepository<XhhSettlementProduct, Long> {

    XhhSettlementProduct findByProductName(String productName);

    void deleteByCompanyId(Long companyId);
}
